UpperText
Ptr textPtr ; a pointer to the text to be upper cased short len ; specifies the length of the text
The UpperText procedure provides localizable uppercase conversion of text up to 32 KB in length.
procedures may move memory.
high-level interface to the _LwrString trap. Beginning with system
software version 6.0.4, LwrText was localizable by using tables in the 'itl2' resource. The UprText procedure was also available in Script Manager 2.0 as a high-level interface to the _UprString trap but was generally not localized.
In system software version 7.0, a new set of routines is available from
both assembly and high-level languages to provide localizable lowercasing,
uppercasing, and stripping of diacritical marks. All of these
they set the operating-system trap flags to indicate which function is
LwrString can still be used; however, you are encouraged to use the new
names that have been defined for the various functions of the LwrString
trap.
Trap macro _UpperText
On entry A0: pointer to first character of string
D0: length of string in bytes (word); must be less
than 32 KB
On exit D0: result code